package org.squirrel.modules.bigscreen.service;

import org.squirrel.common.system.base.service.SquirrelService;
import org.squirrel.modules.bigscreen.dto.ReportShareDto;
import org.squirrel.modules.bigscreen.entity.ReportShare;

public interface ReportShareService extends SquirrelService<ReportShare> {

    /***
     * 查询详情
     *
     * @param id
     * @return
     */
    ReportShare getDetail(Long id);

    ReportShareDto insertShare(ReportShareDto dto);

    ReportShare detailByCode(String shareCode);

    /**
     * 延期过期时间
     * @param dto
     */
    void shareDelay(ReportShareDto dto);
}
